home *** CD-ROM | disk | FTP | other *** search
- Path: news.nevada.edu!aronoffs
- From: aronoffs@nevada.edu (STEVEN ARONOFF)
- Newsgroups: comp.lang.c
- Subject: Help Learning C
- Date: 23 Jan 1996 02:17:03 GMT
- Organization: University of Nevada System Computing Services
- Message-ID: <4e1gev$3gv@news.nevada.edu>
- NNTP-Posting-Host: unauthenticated_user@pioneer.nevada.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Here is a simple idea!
- copy the one file with the list.
-
- Take the list one at a time while loop to strcmp the other file fgets the
- whole thing looking for a match. If match found mark line for delete.
- after first list has been gone through then fgets and fputs NOT lines
- match found to newfile.
- Keep original file with list as file.old just in case of mess-ups
-
- Please excuse the engpramming language.
-